//index.vue
export interface SearchData {
    showSpckmc: boolean,
}

export interface Warehouse23Data {
    query:object,
    list: Array<{
        spckmc: string,
        spckid: string,
        active: boolean
    }>
}

export interface WarehouseOutData {
    loading:boolean,
    finished:boolean,
    refreshing: boolean,
    query: {
        dzzy6: string,
        isBa: string,
        jqcz: string,
        khpb: number,
        pzbh: string,
        pzbh1: string,
        qycz: string,
        rqid1: string,
        rqid2: string,
        shopId: number,
        shzt: string,
        spbh: string,
        spckid: string,
        spckidis: Array<string>,
        spcwid: string,
        spgh: string,
        spkhmc: string,
        spkhmc1: string,
        sptm: string,
        wbdh: string,
        spckmc: string,
    },
    list: Array<{
        dzid:string,
        shzt: string,
        shztn:number,
        pzbh: string,
        spjs: string
        spsl: string,
        dzzy6: string,
        spckmc: string,
        ssrqid: string,
        rsopmc: string,
        prrq: string,
    }>,
    total: number,
    params:{
        pageNum: number,
        pageSize: number
    }
}

//add.vue
export interface SearchDataAdd {
    showSpckmc: boolean,
}

export interface Warehouse3Data {
    query:object,
    list: Array<{
        spckid:string,
        spckmc: string,
        active: boolean
    }>
}

export interface WarehouseOutAddData {
    loading: boolean,
    finished: boolean,
    query:{
        spkhmcid: string,
        sptm: string, 
        spzs: string,
        spmc: string,
        spcd: string,
        spgh: string,
        spbh: string,
        spckmc: string,
        ckcw: string
    },
    list:Array<{
        checked: boolean,
        spzs: string,
        wpggA: string,
        spcd: string,
        spbh: string,
        spgh: string,
        sptm: string,
        spckmc: string,
        ssrqid: string,
        days:string,
        spjs2: string,
        spsl2: string,
        ckcw: string,
    }>,
    params: {
        pageNum: number,
        pageSize: number
    },
    total:number
}

export interface SelectedAll {
    status:boolean,
    spjs2Sum: number,
    spsl2Sum: number
}

//appint.vue
export interface WarehouseData {
    showPicker: boolean,
    loading:boolean,
    query: {
        khmcid:string,
        spckmc: string
    },
    params: {
        pageNum: number,
        pageSize: number
    },
    list: Array<{
        spckid:string
    }>,
    columns: Array<string>,
    total: number,
}

export interface CustomerData {
    query:{
        khid: string,
    },
    data:{
        scx:number,
        tsje: number,
        hwje: number
    }
}

export interface AppintForm {
    data:{
        ccrq: string,
        dzbz: string,
        dzzy10: string,
        dzzy12: string,
        dzzy6: string,
        dzzy7: string,
        dzzy8: string,
        iszxf: string,
        iszyl: string,
        khlx: string,
        khmc:string,
        khmcid: string,
        spckmc: string,
        wbdh: string,
        spckid: string,
        inp: Array<{
            spzs: string,
            wpggA: string,
            spcd: string,
            sptm: string,
            spbh: string,
            spgh: string,
            ssrqid: string,
            spsl2: string,
            spjs2: string,
            spdj: string,
            spje: number,
            spsl: string,
            spjs: string,
            spjsl: string,
            ssrqidn: string,
        }>
    },
    spjsSum:number,
    spslSum:number,
    spjeSum:number,
}

//detailList
export interface WarehouseOutDetailListData {
    query:{
        dzid: any
    },
    list: Array<{
        spckmc: string,
        spzs: string,
        wpggA: string,
        spcd: string,
        sptm: string,
        spbh: string,
        spgh: string,
        ssrqid: string,
        spsl: string,
        spjs: string,
    }>,
    info: {
        pzbh: string,
        shzt: string,
        dzzy6: string,
        dzzy7: string,
        dzzy8: string,
        dzzy10: string,
        dzbz: string,
        rsopmc: string,
        prrq: string,
        rsopmcp: string,
    } 
}